package com.yunji.base.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunji.base.domain.SiteScaleDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class SiteAuditDTO {

    @ApiModelProperty("网点ID")
    private Long siteId;

    @ApiModelProperty("审核ID")
    private Long auditId;

    @ApiModelProperty("审核类型 0-账号审核 1-分润审核")
    private Integer auditType;

    @ApiModelProperty(value = "网点类型", required = true)
    private Integer siteType;

    @ApiModelProperty(value = "网点名称", required = true)
    private String siteName;

    @ApiModelProperty(value = "网点联系人", required = true)
    private String siteContacts;

    @ApiModelProperty(value = "网点联系人手机号", required = true)
    private String siteTel;

    @ApiModelProperty("省份名称")
    private String provinceName;

    @ApiModelProperty("省份代码")
    private String provinceCode;

    @ApiModelProperty("城市名称")
    private String cityName;

    @ApiModelProperty("城市代码")
    private String cityCode;

    @ApiModelProperty("区县名称")
    private String countyName;

    @ApiModelProperty("区县代码")
    private String countyCode;

    @ApiModelProperty("网点地址")
    private String region;

    @ApiModelProperty("网点详细地址")
    private String address;

    @ApiModelProperty("代理商ID")
    private Long agentId;

    private String agentName;

    @ApiModelProperty("所属ID")
    private Long belongId;

    @ApiModelProperty("自定义价格, 默认为0")
    private Integer customPrice;

    @ApiModelProperty(value = "提点设置 0-不分成 1-按交易金额 2-按交易笔数 3 按年限(合同日期不能为空)  默认为:0 ")
    private Integer scaleType;

    @ApiModelProperty("网点分成合同开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date siteScaleDates;

    @ApiModelProperty("网点分成合同结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date siteScaleDatee;

    @ApiModelProperty("网点分润列表")
    private List<SiteScaleDO> siteScaleList;

    @ApiModelProperty("网点合作方式 0-合作代理 1-自营代理")
    private Integer cooperateWay;

    @ApiModelProperty(value = "分成比例/每笔金额, 默认:0")
    private BigDecimal scale;
}
